package cn.com.dycc.party_work.education.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.party_work.education.entity.DeptAndEducation;
import cn.com.dycc.party_work.education.entity.Education;
import cn.com.dycc.party_work.education.param.FindEduParam;

/**
 * 
 * Description: 党员教育service层
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年6月27日 下午7:41:03.
 * Update Date Time: 
 * @see
 */
public interface EducationService {
	
	int addEdu(Education edu,String dept_ids[],HttpServletRequest req)throws EduNotFoundException;
	int deleteEdu(String education_id,HttpServletRequest req)throws EduNotFoundException;
	int deleteAllEdu(String education_ids[],HttpServletRequest req)throws EduNotFoundException;
	
	int updateEdu(Education edu,String dept_ids[],HttpServletRequest req)throws EduNotFoundException;
	
	Education findEdu(String education_id,HttpServletRequest req)throws EduNotFoundException;
	DeptAndEducation findEduById(String education_id,HttpServletRequest req)throws EduNotFoundException;
	
	List<DeptAndEducation> findAllEdu(FindEduParam param,HttpServletRequest req)throws EduNotFoundException;
	String findAllEduCount(FindEduParam param,HttpServletRequest req)throws EduNotFoundException;
	
	
	List<DeptAndEducation> findAllEduNoIssue(FindEduParam param,HttpServletRequest req)throws EduNotFoundException;
	String findAllEduCountNoIssue(FindEduParam param,HttpServletRequest req)throws EduNotFoundException;
	
	//发布
	int issueEdu(String education_ids[],HttpServletRequest req)throws EduNotFoundException;
}
